﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using System.Diagnostics;

namespace luGIF微电影
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();
        }

        private void btnChoosePhoto_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                this.NavigationService.Navigate(new Uri("/View/FromFilePage.xaml", UriKind.Relative));
            }
            catch (System.Exception ex)
            {
                Debug.WriteLine(ex.Message);
            }
            
        }

        private void showarts_click(object sender, RoutedEventArgs e)
        {
            try
            {
                this.NavigationService.Navigate(new Uri("/View/ShowPicsPage.xaml", UriKind.Relative));
            }
            catch (System.Exception ex)
            {
                Debug.WriteLine(ex.Message);
            }
        }

        private void btnCamera_Click(object sender, RoutedEventArgs e)
        {
            this.NavigationService.Navigate(new Uri("/View/FromCameraPage.xaml", UriKind.Relative));
        }
    }
}